package com.arch.flink.biz.wc;

/**
 * @author pizhihui
 * @date 2020-07-30
 */

public class WordAndOne {

    private String word;
    private Integer num;

    public WordAndOne() {
    }

    public WordAndOne(String word, Integer num) {
        this.word = word;
        this.num = num;
    }

    public String getWord() {
        return word;
    }

    public WordAndOne setWord(String word) {
        this.word = word;
        return this;
    }

    public Integer getNum() {
        return num;
    }

    public WordAndOne setNum(Integer num) {
        this.num = num;
        return this;
    }

    @Override
    public String toString() {
        return "WordAndOne{" +
                "word='" + word + '\'' +
                ", num=" + num +
                '}';
    }
}
